package com.hospital.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GhxxbExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GhxxbExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBlhIsNull() {
            addCriterion("BLH is null");
            return (Criteria) this;
        }

        public Criteria andBlhIsNotNull() {
            addCriterion("BLH is not null");
            return (Criteria) this;
        }

        public Criteria andBlhEqualTo(Integer value) {
            addCriterion("BLH =", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhNotEqualTo(Integer value) {
            addCriterion("BLH <>", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhGreaterThan(Integer value) {
            addCriterion("BLH >", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhGreaterThanOrEqualTo(Integer value) {
            addCriterion("BLH >=", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhLessThan(Integer value) {
            addCriterion("BLH <", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhLessThanOrEqualTo(Integer value) {
            addCriterion("BLH <=", value, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhIn(List<Integer> values) {
            addCriterion("BLH in", values, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhNotIn(List<Integer> values) {
            addCriterion("BLH not in", values, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhBetween(Integer value1, Integer value2) {
            addCriterion("BLH between", value1, value2, "blh");
            return (Criteria) this;
        }

        public Criteria andBlhNotBetween(Integer value1, Integer value2) {
            addCriterion("BLH not between", value1, value2, "blh");
            return (Criteria) this;
        }

        public Criteria andXmIsNull() {
            addCriterion("XM is null");
            return (Criteria) this;
        }

        public Criteria andXmIsNotNull() {
            addCriterion("XM is not null");
            return (Criteria) this;
        }

        public Criteria andXmEqualTo(String value) {
            addCriterion("XM =", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmNotEqualTo(String value) {
            addCriterion("XM <>", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmGreaterThan(String value) {
            addCriterion("XM >", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmGreaterThanOrEqualTo(String value) {
            addCriterion("XM >=", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmLessThan(String value) {
            addCriterion("XM <", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmLessThanOrEqualTo(String value) {
            addCriterion("XM <=", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmLike(String value) {
            addCriterion("XM like", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmNotLike(String value) {
            addCriterion("XM not like", value, "xm");
            return (Criteria) this;
        }

        public Criteria andXmIn(List<String> values) {
            addCriterion("XM in", values, "xm");
            return (Criteria) this;
        }

        public Criteria andXmNotIn(List<String> values) {
            addCriterion("XM not in", values, "xm");
            return (Criteria) this;
        }

        public Criteria andXmBetween(String value1, String value2) {
            addCriterion("XM between", value1, value2, "xm");
            return (Criteria) this;
        }

        public Criteria andXmNotBetween(String value1, String value2) {
            addCriterion("XM not between", value1, value2, "xm");
            return (Criteria) this;
        }

        public Criteria andZjlxIsNull() {
            addCriterion("ZJLX is null");
            return (Criteria) this;
        }

        public Criteria andZjlxIsNotNull() {
            addCriterion("ZJLX is not null");
            return (Criteria) this;
        }

        public Criteria andZjlxEqualTo(String value) {
            addCriterion("ZJLX =", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxNotEqualTo(String value) {
            addCriterion("ZJLX <>", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxGreaterThan(String value) {
            addCriterion("ZJLX >", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxGreaterThanOrEqualTo(String value) {
            addCriterion("ZJLX >=", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxLessThan(String value) {
            addCriterion("ZJLX <", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxLessThanOrEqualTo(String value) {
            addCriterion("ZJLX <=", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxLike(String value) {
            addCriterion("ZJLX like", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxNotLike(String value) {
            addCriterion("ZJLX not like", value, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxIn(List<String> values) {
            addCriterion("ZJLX in", values, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxNotIn(List<String> values) {
            addCriterion("ZJLX not in", values, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxBetween(String value1, String value2) {
            addCriterion("ZJLX between", value1, value2, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjlxNotBetween(String value1, String value2) {
            addCriterion("ZJLX not between", value1, value2, "zjlx");
            return (Criteria) this;
        }

        public Criteria andZjhIsNull() {
            addCriterion("ZJH is null");
            return (Criteria) this;
        }

        public Criteria andZjhIsNotNull() {
            addCriterion("ZJH is not null");
            return (Criteria) this;
        }

        public Criteria andZjhEqualTo(String value) {
            addCriterion("ZJH =", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhNotEqualTo(String value) {
            addCriterion("ZJH <>", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhGreaterThan(String value) {
            addCriterion("ZJH >", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhGreaterThanOrEqualTo(String value) {
            addCriterion("ZJH >=", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhLessThan(String value) {
            addCriterion("ZJH <", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhLessThanOrEqualTo(String value) {
            addCriterion("ZJH <=", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhLike(String value) {
            addCriterion("ZJH like", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhNotLike(String value) {
            addCriterion("ZJH not like", value, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhIn(List<String> values) {
            addCriterion("ZJH in", values, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhNotIn(List<String> values) {
            addCriterion("ZJH not in", values, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhBetween(String value1, String value2) {
            addCriterion("ZJH between", value1, value2, "zjh");
            return (Criteria) this;
        }

        public Criteria andZjhNotBetween(String value1, String value2) {
            addCriterion("ZJH not between", value1, value2, "zjh");
            return (Criteria) this;
        }

        public Criteria andSbhIsNull() {
            addCriterion("SBH is null");
            return (Criteria) this;
        }

        public Criteria andSbhIsNotNull() {
            addCriterion("SBH is not null");
            return (Criteria) this;
        }

        public Criteria andSbhEqualTo(String value) {
            addCriterion("SBH =", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhNotEqualTo(String value) {
            addCriterion("SBH <>", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhGreaterThan(String value) {
            addCriterion("SBH >", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhGreaterThanOrEqualTo(String value) {
            addCriterion("SBH >=", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhLessThan(String value) {
            addCriterion("SBH <", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhLessThanOrEqualTo(String value) {
            addCriterion("SBH <=", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhLike(String value) {
            addCriterion("SBH like", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhNotLike(String value) {
            addCriterion("SBH not like", value, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhIn(List<String> values) {
            addCriterion("SBH in", values, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhNotIn(List<String> values) {
            addCriterion("SBH not in", values, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhBetween(String value1, String value2) {
            addCriterion("SBH between", value1, value2, "sbh");
            return (Criteria) this;
        }

        public Criteria andSbhNotBetween(String value1, String value2) {
            addCriterion("SBH not between", value1, value2, "sbh");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andSfzfIsNull() {
            addCriterion("SFZF is null");
            return (Criteria) this;
        }

        public Criteria andSfzfIsNotNull() {
            addCriterion("SFZF is not null");
            return (Criteria) this;
        }

        public Criteria andSfzfEqualTo(Integer value) {
            addCriterion("SFZF =", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfNotEqualTo(Integer value) {
            addCriterion("SFZF <>", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfGreaterThan(Integer value) {
            addCriterion("SFZF >", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfGreaterThanOrEqualTo(Integer value) {
            addCriterion("SFZF >=", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfLessThan(Integer value) {
            addCriterion("SFZF <", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfLessThanOrEqualTo(Integer value) {
            addCriterion("SFZF <=", value, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfIn(List<Integer> values) {
            addCriterion("SFZF in", values, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfNotIn(List<Integer> values) {
            addCriterion("SFZF not in", values, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfBetween(Integer value1, Integer value2) {
            addCriterion("SFZF between", value1, value2, "sfzf");
            return (Criteria) this;
        }

        public Criteria andSfzfNotBetween(Integer value1, Integer value2) {
            addCriterion("SFZF not between", value1, value2, "sfzf");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Integer value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Integer value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Integer value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Integer value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Integer value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Integer value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Integer> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Integer> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Integer value1, Integer value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Integer value1, Integer value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andJobIsNull() {
            addCriterion("job is null");
            return (Criteria) this;
        }

        public Criteria andJobIsNotNull() {
            addCriterion("job is not null");
            return (Criteria) this;
        }

        public Criteria andJobEqualTo(String value) {
            addCriterion("job =", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotEqualTo(String value) {
            addCriterion("job <>", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThan(String value) {
            addCriterion("job >", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThanOrEqualTo(String value) {
            addCriterion("job >=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThan(String value) {
            addCriterion("job <", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThanOrEqualTo(String value) {
            addCriterion("job <=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLike(String value) {
            addCriterion("job like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotLike(String value) {
            addCriterion("job not like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobIn(List<String> values) {
            addCriterion("job in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotIn(List<String> values) {
            addCriterion("job not in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobBetween(String value1, String value2) {
            addCriterion("job between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotBetween(String value1, String value2) {
            addCriterion("job not between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andCfzIsNull() {
            addCriterion("CFZ is null");
            return (Criteria) this;
        }

        public Criteria andCfzIsNotNull() {
            addCriterion("CFZ is not null");
            return (Criteria) this;
        }

        public Criteria andCfzEqualTo(Integer value) {
            addCriterion("CFZ =", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzNotEqualTo(Integer value) {
            addCriterion("CFZ <>", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzGreaterThan(Integer value) {
            addCriterion("CFZ >", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzGreaterThanOrEqualTo(Integer value) {
            addCriterion("CFZ >=", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzLessThan(Integer value) {
            addCriterion("CFZ <", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzLessThanOrEqualTo(Integer value) {
            addCriterion("CFZ <=", value, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzIn(List<Integer> values) {
            addCriterion("CFZ in", values, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzNotIn(List<Integer> values) {
            addCriterion("CFZ not in", values, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzBetween(Integer value1, Integer value2) {
            addCriterion("CFZ between", value1, value2, "cfz");
            return (Criteria) this;
        }

        public Criteria andCfzNotBetween(Integer value1, Integer value2) {
            addCriterion("CFZ not between", value1, value2, "cfz");
            return (Criteria) this;
        }

        public Criteria andDocidIsNull() {
            addCriterion("docId is null");
            return (Criteria) this;
        }

        public Criteria andDocidIsNotNull() {
            addCriterion("docId is not null");
            return (Criteria) this;
        }

        public Criteria andDocidEqualTo(Integer value) {
            addCriterion("docId =", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidNotEqualTo(Integer value) {
            addCriterion("docId <>", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidGreaterThan(Integer value) {
            addCriterion("docId >", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidGreaterThanOrEqualTo(Integer value) {
            addCriterion("docId >=", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidLessThan(Integer value) {
            addCriterion("docId <", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidLessThanOrEqualTo(Integer value) {
            addCriterion("docId <=", value, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidIn(List<Integer> values) {
            addCriterion("docId in", values, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidNotIn(List<Integer> values) {
            addCriterion("docId not in", values, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidBetween(Integer value1, Integer value2) {
            addCriterion("docId between", value1, value2, "docid");
            return (Criteria) this;
        }

        public Criteria andDocidNotBetween(Integer value1, Integer value2) {
            addCriterion("docId not between", value1, value2, "docid");
            return (Criteria) this;
        }

        public Criteria andZtIsNull() {
            addCriterion("ZT is null");
            return (Criteria) this;
        }

        public Criteria andZtIsNotNull() {
            addCriterion("ZT is not null");
            return (Criteria) this;
        }

        public Criteria andZtEqualTo(Integer value) {
            addCriterion("ZT =", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotEqualTo(Integer value) {
            addCriterion("ZT <>", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtGreaterThan(Integer value) {
            addCriterion("ZT >", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtGreaterThanOrEqualTo(Integer value) {
            addCriterion("ZT >=", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtLessThan(Integer value) {
            addCriterion("ZT <", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtLessThanOrEqualTo(Integer value) {
            addCriterion("ZT <=", value, "zt");
            return (Criteria) this;
        }

        public Criteria andZtIn(List<Integer> values) {
            addCriterion("ZT in", values, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotIn(List<Integer> values) {
            addCriterion("ZT not in", values, "zt");
            return (Criteria) this;
        }

        public Criteria andZtBetween(Integer value1, Integer value2) {
            addCriterion("ZT between", value1, value2, "zt");
            return (Criteria) this;
        }

        public Criteria andZtNotBetween(Integer value1, Integer value2) {
            addCriterion("ZT not between", value1, value2, "zt");
            return (Criteria) this;
        }

        public Criteria andBzIsNull() {
            addCriterion("BZ is null");
            return (Criteria) this;
        }

        public Criteria andBzIsNotNull() {
            addCriterion("BZ is not null");
            return (Criteria) this;
        }

        public Criteria andBzEqualTo(String value) {
            addCriterion("BZ =", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotEqualTo(String value) {
            addCriterion("BZ <>", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThan(String value) {
            addCriterion("BZ >", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThanOrEqualTo(String value) {
            addCriterion("BZ >=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThan(String value) {
            addCriterion("BZ <", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThanOrEqualTo(String value) {
            addCriterion("BZ <=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLike(String value) {
            addCriterion("BZ like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotLike(String value) {
            addCriterion("BZ not like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzIn(List<String> values) {
            addCriterion("BZ in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotIn(List<String> values) {
            addCriterion("BZ not in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzBetween(String value1, String value2) {
            addCriterion("BZ between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotBetween(String value1, String value2) {
            addCriterion("BZ not between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andGhsjIsNull() {
            addCriterion("GHSJ is null");
            return (Criteria) this;
        }

        public Criteria andGhsjIsNotNull() {
            addCriterion("GHSJ is not null");
            return (Criteria) this;
        }

        public Criteria andGhsjEqualTo(Date value) {
            addCriterion("GHSJ =", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjNotEqualTo(Date value) {
            addCriterion("GHSJ <>", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjGreaterThan(Date value) {
            addCriterion("GHSJ >", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjGreaterThanOrEqualTo(Date value) {
            addCriterion("GHSJ >=", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjLessThan(Date value) {
            addCriterion("GHSJ <", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjLessThanOrEqualTo(Date value) {
            addCriterion("GHSJ <=", value, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjIn(List<Date> values) {
            addCriterion("GHSJ in", values, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjNotIn(List<Date> values) {
            addCriterion("GHSJ not in", values, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjBetween(Date value1, Date value2) {
            addCriterion("GHSJ between", value1, value2, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhsjNotBetween(Date value1, Date value2) {
            addCriterion("GHSJ not between", value1, value2, "ghsj");
            return (Criteria) this;
        }

        public Criteria andGhfIsNull() {
            addCriterion("GHF is null");
            return (Criteria) this;
        }

        public Criteria andGhfIsNotNull() {
            addCriterion("GHF is not null");
            return (Criteria) this;
        }

        public Criteria andGhfEqualTo(String value) {
            addCriterion("GHF =", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfNotEqualTo(String value) {
            addCriterion("GHF <>", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfGreaterThan(String value) {
            addCriterion("GHF >", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfGreaterThanOrEqualTo(String value) {
            addCriterion("GHF >=", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfLessThan(String value) {
            addCriterion("GHF <", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfLessThanOrEqualTo(String value) {
            addCriterion("GHF <=", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfLike(String value) {
            addCriterion("GHF like", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfNotLike(String value) {
            addCriterion("GHF not like", value, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfIn(List<String> values) {
            addCriterion("GHF in", values, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfNotIn(List<String> values) {
            addCriterion("GHF not in", values, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfBetween(String value1, String value2) {
            addCriterion("GHF between", value1, value2, "ghf");
            return (Criteria) this;
        }

        public Criteria andGhfNotBetween(String value1, String value2) {
            addCriterion("GHF not between", value1, value2, "ghf");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}